package com.alex.sporttraining;

import java.util.ArrayList;
import java.util.Date;

public class Musculation extends Seance{
	private ArrayList<Exercice> lesExercices;

	public Musculation(int id, String commentaire, Date date_seance, Sport sport, Utilisateur utilisateur, String duree, ArrayList<Exercice> lesExercices) {
		super(id, commentaire, date_seance, sport, utilisateur, duree);
		this.lesExercices = lesExercices;
	}

	public ArrayList<Exercice> getLesExercices() {
		return lesExercices;
	}

	public void setLesExercices(ArrayList<Exercice> lesExercices) {
		this.lesExercices = lesExercices;
	}
	
	public void ajoutExercice(Exercice e){
		lesExercices.add(e);
	}
	
	
	
	
}
